﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SaleLibrary.License;

namespace SaleLibrary.Sale
{
    /// <summary>
    /// 库存
    /// </summary>
    public interface IStock
    {
        /// <summary>
        /// 数据库主键
        /// </summary>
        int Id { get; set; }
        /// <summary>
        /// 注册用户
        /// </summary>
        IClient Client { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        IActiveCodeType CodeType { get; set; }
        /// <summary>
        /// 期间
        /// </summary>
        int Period { get; set; }
        /// <summary>
        /// 是否续费
        /// </summary>
        bool IsRenewal { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        int Qty { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        DateTime ModifyTime { get; set; }

    }
}
